package org.ciallo.easytokendemo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @Author: Jukomu
 * @Package: org.ciallo.easytokendemo.demo.entity
 * @Project: easy-token-demo
 * @name: User
 * @Date: 2025-05-16
 * @Filename: User
 */
@Data
@TableName("user")
public class User implements Serializable {
    @TableId("uuid")
    private String uuid;
    @TableField("name")
    private String name;
    @TableField("password")
    private String password;

    public User() {}

    public User(String uuid,String name, String password) {
        this.uuid = uuid;
        this.name = name;
        this.password = password;
    }
}